package com.huang.consumer_mall.service;


import com.huang.consumer_mall.dao.CartDao;
import com.huang.consumer_mall.model.Cart;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CartService extends BaseService<CartDao, Cart> {
    @Autowired
    protected CartDao cartDao;

    public List<Cart> getCarlist(Cart cart){
        return cartDao.getCartlist(cart);
    }
}
